package com.ydsungan.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class PostVO implements Serializable {

    private Integer id;
    private String postText;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date createTime;
    private String author;
    private String openId;


    private String imgPath;
    private Integer readNum;

    private Integer status;

    private String subtitle;
    private String authorName;
    private String avatarImg;

    private String coverImg;
    private Integer type;
    private List<CommentsVO> commentsList;
    private Integer commentsNum;


}